#include <cstring>
#include <string>
#include "vl_props.h"

using namespace VL;

int main(int argc, const char** argv) {
	if(argc != 2) {
		return 1;
	}

	VLProp prop;
	try {
		VLProp::readVLP(argv[1], prop);
		prop.print();
		return 2;
	} catch(const VLPropExcetion& exception) {
		return 0;
	} catch(...) {
		return 3;
	}

	return 0;
}